﻿using System;
namespace zhangmenren.Models
{
    /// <summary>
    /// 作品的收藏，点赞，关注表，购买成功后的记录
    /// </summary>
    public class CensusEntity
    {
        public int Id { get; set;}

        /// <summary>
        /// 作品标识
        /// </summary>
        /// <value>The work identifier.</value>
        public int WorkId { get; set; }

        /// <summary>
        /// 作品类型  0收藏，1点赞，2关注 3购买
        /// </summary>
        /// <value>The type.</value>
        public int Type { get; set; }

        /// <summary>
        /// 用户标识
        /// </summary>
        /// <value>The usre identifier.</value>
        public int UserId { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        /// <value>The add dt.</value>
        public DateTime? AddDT { get; set; }

    }
}
